package equation;

public class DivideEquation extends Equation {

    public DivideEquation(Integer operandA, Integer operandB) {
        super(operandA, operandB);
        this.setOperator('/');
    }

    @Override
    public Integer calculate() throws ArithmeticException {
        return this.getOperandA() / this.getOperandB();
    }
}
